<?php
class Dmf_Form_Element_File extends Dmf_Form_Element
{
    public function getContent()
    {
        $this->addDefaultAttribute( 'type', 'file' );
        $this->form->setAttr( 'enctype', 'multipart/form-data' );
        
        return '<input%attributes% value="%value%" />';
    }
}